<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>浮动练习-考拉多列布局(Floating Exercise - Koala Multi Column Layout)</title>
  <style>
    .container {
      width: 1100px;
      height: 600px;
      background-color: skyblue;
    }

    /* 方案1 */
    .container-v1 .item {
      width: 221px; 
      height: 168px;
      background-color: pink;
      float: left;
      border: 1px solid #000;
      box-sizing: border-box;
      margin-left: -1px;
    }

    /* 方案2 */
    .container-v2 .item {
      width: 221px;
      height: 168px;
      background-color: pink;
      float: left;
      border: 1px solid #000;
      margin-right: -1px;
      box-sizing: border-box;
    }

    .container-v2 .item.first {
      width: 220px;
    }
  </style>
</head>
<body>
  
  <h3>方案1</h3>
  <div class="container container-v1">
    <div class="item">1</div>
    <div class="item">2</div>
    <div class="item">3</div>
    <div class="item">4</div>
    <div class="item">5</div>
  </div>

  <h3>方案2</h3>
  <div class="container container-v2">
    <div class="item first">1</div>
    <div class="item">2</div>
    <div class="item">3</div>
    <div class="item">4</div>
    <div class="item">5</div>
  </div>

</body>
</html>